#include "priority_queue.hpp"
#include <queue>
#include <vector>

int main()
{
    auto cmp = [](const int& x, const int& y) { return x < y; };
    // std::priority_queue<int, std::vector<int>, decltype(cmp)> pq(cmp);

    ns_pq::priority_queue<int, std::vector<int>, decltype(cmp)> pq(cmp);
    pq.push(2);
    pq.push(1);
    pq.push(3);
    pq.push(5);
    pq.push(4);
    while(pq.size())
    {
        std::cout << pq.top() << ' '; pq.pop();
    }
    std::cout << std::endl;
}